package com.kundi.dooradmin.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Author 赵恒
 * Date 2020/6/19
 */
@Entity
@Table(name = "tb_cooperation_unit")
public class CooperationUnit {
    @Id
    private Integer id;

    private String name;

    @Override
    public String toString() {
        return "CooperationUnit{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
